/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package io.renren;

import io.renren.modules.app.service.SensitiveService;
import io.renren.modules.sys.service.ThymeleafSc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;


@MapperScan(basePackages = {"io.renren.modules.*.dao", "com.zheok.testing.dao"})
@SpringBootApplication
public class AdminApplication {

    @Autowired
    private ThymeleafSc thymeleafPage;

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
    @Autowired
    SensitiveService sensitiveService;

    @PostConstruct
    public void init() {
        thymeleafPage.test();
    }
}
